package com.toycloud.system.domain.dto;

import com.toycloud.common.core.utils.bean.BeanUtils;
import com.toycloud.system.domain.feedback.FeedbackConfig;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hlchan
 * @version 1.0
 * @date 2024/9/29 10:05
 */
@Data
public class FeedBackConfigBrandDTO extends FeedbackConfig {
    private String pname;

    public FeedBackConfigBrandDTO(FeedbackConfig feedbackConfig, String pname){
        // 复制父类 FeedbackConfig 的属性
        BeanUtils.copyProperties(feedbackConfig, this);
        this.pname = pname;
    }

    public FeedBackConfigBrandDTO(){
    }
}
